From 2cbaaf0d42a2160cd7b6ba6d6cc76aeb7199fd07 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 14 Jul 2011 13:22:36 +0100 Subject: [PATCH] libxl: IDL: s/anonynous/anonymous/ Signed-off-by: Ian Campbell Committed-by: Ian Jackson --- tools/libxl/gentypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/gentypes.py b/tools/libxl/gentypes.py index c9a3d9c2f9..5abc2e212c 100644 --- a/tools/libxl/gentypes.py +++ b/tools/libxl/gentypes.py @@ -101,7 +101,7 @@ def libxl_C_type_destroy(ty, v, indent = " ", parent = None): elif isinstance(ty, libxltypes.Struct) and (parent is None or ty.destructor_fn is None): for f in [f for f in ty.fields if not f.const]: - if f.name is None: # Anonynous struct + if f.name is None: # Anonymous struct s += libxl_C_type_destroy(f.type, deref, "", deref) else: s += libxl_C_type_destroy(f.type, deref + f.name, "", deref) -- 2.30.2